package com.aistar.pojo;

import java.util.List;
import java.util.Map;

public class QuestionVO {
    private Question  question;
    private Member member;
    private List<AnswerVO> answerVOList;
    private Map<AnswerVO,List<AncommVO>> answerVOListMap;

    public QuestionVO() {
    }

    public QuestionVO(Question question, Member member, List<AnswerVO> answerVOList, Map<AnswerVO, List<AncommVO>> answerVOListMap) {
        this.question = question;
        this.member = member;
        this.answerVOList = answerVOList;
        this.answerVOListMap = answerVOListMap;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public List<AnswerVO> getAnswerVOList() {
        return answerVOList;
    }

    public void setAnswerVOList(List<AnswerVO> answerVOList) {
        this.answerVOList = answerVOList;
    }

    public Map<AnswerVO, List<AncommVO>> getAnswerVOListMap() {
        return answerVOListMap;
    }

    public void setAnswerVOListMap(Map<AnswerVO, List<AncommVO>> answerVOListMap) {
        this.answerVOListMap = answerVOListMap;
    }

    @Override
    public String toString() {
        return "QuestionVO{" +
                "question=" + question +
                ", member=" + member +
                ", answerVOList=" + answerVOList +
                ", answerVOListMap=" + answerVOListMap +
                '}';
    }
}
